package bean;

import java.time.LocalDate;

public class SetBean {
    private int id;
    private String description;
    private LocalDate errorDate = LocalDate.now();
    private String settle = "未解决";
    private int roomId;

    public SetBean() {
    }

    public SetBean(String description) {
        this.description = description;
    }

    public int getRoomId() {
        return roomId;
    }

    public void setRoomId(int roomId) {
        this.roomId = roomId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public LocalDate getErrorDate() {
        return errorDate;
    }

    public void setErrorDate(LocalDate errorDate) {
        this.errorDate = errorDate;
    }

    public String getSettle() {
        return settle;
    }

    public void setSettle(String settle) {
        this.settle = settle;
    }

    @Override
    public String toString() {
        return "SetDO{" +
                "id=" + id +
                ", description='" + description + '\'' +
                ", errorDate=" + errorDate +
                ", settle='" + settle + '\'' +
                ", roomId=" + roomId +
                '}';
    }
}
